package cn.hesion.dataStructures.doubleLinkedList;

public class DoubleLinkedListDemo {
    public static void main(String[] args) {
        DoubleLinkedList doubleLinkedList = new DoubleLinkedList();
        doubleLinkedList.add(new HeroNodeDNode(1,"21"));
        doubleLinkedList.add(new HeroNodeDNode(2,"22"));
        doubleLinkedList.add(new HeroNodeDNode(3,"23"));
        doubleLinkedList.list();
        doubleLinkedList.delNode(3);
        System.out.println("删除以后");
        doubleLinkedList.list();
    }
}
